@import "head";

code {
  border-radius: 5px;
  border: 1px solid #ffd67c;
}

.bz-code {
  background-color: #f5f2f0;
}

.bz-sub-container {
  padding: 30px 20% 0;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;

  .bz-show-status {
    //margin-top: 40px;
  }
}

.bz-paragraph {
  margin-top: 15px;
  display: block;
  white-space: normal;
  color: @gray-800;
}


.bz-panel {
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  background-color: @white;

  .bz-panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;

    .bz-panel-title {
      margin-top: 0;
      margin-bottom: 0;
      color: inherit;
      font-size: 16px;
    }
  }

  .bz-panel-body {
    padding: 15px;
  }
}

each(@colorSet, {
  .bz-panel-@{value} {
    border: 1px solid @@value;

    & > .bz-panel-heading {
      background-color: @@value;
      border-color: #dddddd;
      color: #333333;
    }
  }
  .bz-badge-@{value} {
    background-color: @@value;
    padding: 3px;
    border-radius: 2px;
  }
});

.bz-code {
  background-color: @gray-100;
  border: 1px solid @gray-200;
  border-radius: 2px;
  box-shadow: 0 0 1px 1px rgba(@success, 0.5);
  padding: 10px 10px 10px 30px;
  font-weight: bold;
}

.bz-code-img {
  background-color: @gray-100;
  border: 1px solid @gray-200;
  border-radius: 2px;
  box-shadow: 0 0 1px 1px rgba(@success, 0.5);
  padding: 0;
}

.bz-flex-container {
  display: flex;
  height: 500px;
  background-color: rgba(255, 240, 245, 0.6);
  border-radius: 5px;
  box-shadow: 0 0 1px 1px rgba(255, 106, 106, 0.7);

  .bz-demo-box {
    background-color: @orange;
    width: 50px;
    height: 50px;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;

    &:nth-child(odd) {
      width: 80px;
    }

    &:nth-child(even) {
      height: 80px;
    }
  }
}

.bz-control-bar {
  display: flex;
  justify-content: center;
  height: 30px;

  .bz-control-element {
    border: 1px solid rgba(64, 224, 208, 0.5);
    padding: 5px;
    display: flex;
    margin-right: 5px;
    justify-content: space-between;
    border-radius: 3px;
    align-items: center;

    .bz-title {
      margin-right: 5px;
      font-weight: bold;
      white-space: nowrap;
    }

    .bz-input {
      display: flex;
      justify-content: space-around;

      & > input {
        width: 40px;
        border: 1px solid transparent;
        text-align: right;

        &:last-child {
          width: 50px;
        }
      }

      .bz-unit {
        color: @gray-400;
      }
    }

    button {
      white-space: nowrap;
      margin-right: 5px;
      padding: 5px;

      &:last-child {
        margin-right: 0;
      }
    }
  }
}

.bz-show-area {
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;

  .bz-shadow-value {

  }

  .bz-shadow-demo {
    height: 100px;
    width: 100px;
    border-radius: 5px;
    background-color: #21252b;
    border: 1px solid red;
  }
}
